<template>
  <div>
    dsadddd
    <div :id="elementid" style="height: 80vh; width: 80vw"></div>
  </div>
</template>

<script setup lang="ts">
import { toRefs, ref } from "vue";

import { useGisScene } from "@/hooks/bimface";
import { getModelViewToken } from "@/api/bimface/accessCredentials";

import service from "@/api/Bimface";

// const props = defineProps({
//   modelId: {
//     type: String,
//     default: "",
//   },
// });
// service({
//   url:"45"
// })
const modelId = ref<string>("2810144377435744");
const { elementid } = useGisScene(modelId, getModelViewToken);
</script>

<style>
/* .bfui-toolbar,.bfui-panel-drawer,.bf-northarrow,.bf-infobar,.bf-credit {
  display: none !important;
} */

</style>
